package com.hkccommunity.entity;


public class User {

    private Long id;
    private String username;
    //头像
    private String headImage;
    private String password;
    private String phone;
    private Integer admin;
    private Integer delete;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", headImage='" + headImage + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", admin=" + admin +
                ", delete=" + delete +
                '}';
    }

    public User() {
    }

    public User(Long id, String username, String headImage, String password, String phone, Integer admin, Integer delete) {
        this.id = id;
        this.username = username;
        this.headImage = headImage;
        this.password = password;
        this.phone = phone;
        this.admin = admin;
        this.delete = delete;
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getAdmin() {
        return admin;
    }

    public void setAdmin(Integer admin) {
        this.admin = admin;
    }

    public Integer getDelete() {
        return delete;
    }

    public void setDelete(Integer delete) {
        this.delete = delete;
    }
}
